package com.xzit.rcpyxt.mapper;

import com.xzit.rcpyxt.dto.BindUserDto;
import com.xzit.rcpyxt.dto.ClassUserListRequest;
import com.xzit.rcpyxt.dto.StudentBindRequest;
import com.xzit.rcpyxt.dto.StudentDto;
import com.xzit.rcpyxt.entity.Student;
import com.xzit.rcpyxt.entity.Teacher;

import java.util.List;

public interface StudentMapper {

    public List<Student> selectByClassStudentList(ClassUserListRequest studentDto);
    public int countByClassStudentList(ClassUserListRequest studentDto);

    public List<Student> selectByAllClassStudentList(int classId);

    public List<Student> selectByStudentList(StudentBindRequest studentBindRequest);
    public int countByStudentList(StudentBindRequest studentBindRequest);

    public int updateByStudentOpenId(BindUserDto bindUserDto);
    public Student selectByStudentUserInfo (int id);
    public Student selectByStudentIsBingUser (String openId);

}
